<template>
    <div>
      <div v-if="list" class="contentView">
        <div v-for="(el,idx) in list" class="itemView flex_between" style="align-items: center;">
          <div class="flex_start" style="align-items: center;">
            <div class="leftBox">{{idx+1}}</div>
            <div style="margin-left: 24px;" class="ellipsis1 rightBox">{{el.nickname}}{{el.enterpriseName}}</div>
          </div>
          <div class="countView">
            {{el.cnt}}{{el.learnValue}}
          </div>
        </div>
        <div style="height: 150px;"></div>
      </div>
    </div>
</template>

<script>
    export default {
        name: "itemViewCommon",
        props: {
          list: [],
        }
    }
</script>

<style scoped>
  .contentView{
    background: white;
    height: 100%;
    min-height: 500px;
  }
  .itemView{
    padding-top: 16px;
    padding-left: 24px;
    padding-right:24px;
  }
  .leftBox{
    width: 32px;
    text-align: center;
    font-family: PingFang-SC-Bold;
    font-size: 16px;
    color: #98999E;
  }
  .countView{
    width: 64px;
    text-align: right;
    font-weight: bold;
    color: #323334;

  }
  .rightBox{
    max-width: 205px;
    font-family: PingFang-SC-Bold;
    font-size: 16px;
    color: #323334;
    text-align: left;
    font-weight: bold;
  }
</style>
